const { log } = require('console')
const http = require('http')
const qs=require('querystring')
const app = http.createServer()
app.on('request', (req, res) => {
    const url =req.url
    console.log(url)
    
    qs.parse(url.split('?')[1])
    res.setHeader('Content-Type','text/html;charset=utf-8')
    res.end('我是李雪虎,你准备受死吧')
})
app.listen(3001, () => {
    log(111111)
})